package org.framework.edge.builder.application.command.docker.repository;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
/**
 * describe Docker 仓库 
 *
 * @author Jia wei Wu
 * @date 2024/08/13 07:39 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyUpdateCommand 
 **/
@Data
@Accessors(chain = true)
@Schema(title = "docker_repository_update_command",description = "Docker 仓库")
public class DockerRepositoryUpdateCommand {


    /**
     * 
     * 创建时间
     */
    @Schema(description ="创建时间",name ="createTime",example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 
     * 主键ID
     */
    @Schema(description ="主键ID",name ="id",example = "")
    private String id;

    /**
     * 
     * 是否是活跃的
     */
    @Schema(description ="是否是活跃的",name ="isActive",example = "")
    private Boolean isActive;

    /**
     * 
     * 是否是默认true、false
     */
    @Schema(description ="是否是默认true、false",name ="isDefault",example = "")
    private Boolean isDefault;

    /**
     * 
     * 是否删除
     */
    @Schema(description ="是否删除",name ="isDeleted",example = "")
    private Boolean isDeleted;

    /**
     * 
     * 仓库密码
     */
    @Schema(description ="仓库密码",name ="password",example = "")
    private String password;

    /**
     * 
     * 更新时间
     */
    @Schema(description ="更新时间",name ="updateTime",example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 
     * 仓库地址
     */
    @Schema(description ="仓库地址",name ="url",example = "")
    private String url;

    /**
     * 
     * 仓库登录账号
     */
    @Schema(description ="仓库登录账号",name ="username",example = "")
    private String username;

}